package lt.vin.currency.client.service;

import java.util.List;

import lt.vin.currency.shared.Source;
import lt.vin.currency.shared.TestResult;

import com.google.gwt.user.client.rpc.AsyncCallback;

/**
 * The async counterpart of <code>GreetingService</code>.
 */
public interface CurrencyServiceAsync {

	void getSources(AsyncCallback<List<Source>> callback);

	void testSource(Source source, AsyncCallback<TestResult> callback);

	void saveSource(Source source, AsyncCallback<Void> callback);

	void getAvailableCurrencies(AsyncCallback<List<String>> callback);

}
